using UnityEngine;
using System.Collections;

/// \class  gkShootInRhythmCollisionWithFire
/// \brief  Handle the collision with the fire
[AddComponentMenu("GK/ShootInRhythm/Fire/gkShootInRhythmCollisionWithFire")]
public class gkShootInRhythmCollisionWithFire : MonoBehaviour 
{	
	/// \brief  Call at the overlapping beginning
	void OnTriggerEnter(Collider a_rCollisionInfo)
	{
		if(a_rCollisionInfo.gameObject.layer == LayerMask.NameToLayer("Fire"))
		{
			Destroy(gameObject);
		}
	}
}
